﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utilities
{
    /// <summary>
    /// This class represents my own enum which returns a tag string instead of a number...    
    /// </summary>
    public class MyTagEnum
    {
        private static string font = "font";
        public static string FONT
        {
            get
            {
                return font;
            }
        }

        private static string _object = "object";
        public static string OBJECT
        {
            get
            {
                return _object;
            }
        }

        private static string link = "link";
        public static string LINK
        {
            get
            {
                return link;
            }
        }

        private static string script = "script";
        public static string SCRIPT
        {
            get
            {
                return script;
            }
        }

        private static string style = "style";
        public static string STYLE
        {
            get
            {
                return style;
            }
        }

        private static string img = "img";
        public static string IMG
        {
            get
            {
                return img;
            }
        }

        private static string input = "input";
        public static string INPUT
        {
            get
            {
                return input;
            }
        }

        private static string select = "select";
        public static string SELECT
        {
            get
            {
                return select;
            }
        }

        private static string iframe = "iframe";
        public static string IFRAME
        {
            get
            {
                return iframe;
            }
        }

        private static string a = "a";
        public static string A
        {
            get
            {
                return a;
            }
        }

        /// <summary>
        /// Get the name of all irrelevant tags in a html file.
        /// </summary>
        /// <returns>Array of irrelevant tags' names.</returns>
        public static string[] IrrelevantTag()
        {
            string[] result = new string[] {script, style, select, iframe, img, input, link, _object};
            return result;
        }
    }
}
